package main

import (
	"fmt"
	"github.com/garyburd/redigo/redis"
)

func main() {

	conn, err := redis.Dial("tcp", "192.168.0.35:6379")

	if err != nil {
		fmt.Printf("Redis connect error=%v\n", err)
		return
	}

	defer conn.Close()

	fmt.Printf("Redis connection %v\n", conn)
}
